Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2022

Bumps react-paginate from 7.1.3 to 8.1.4.

Release notes

Sourced from react-paginate's releases.

v8.1.4

v8.1.3

v8.1.2

v8.1.1

  • Add TypeScript definition for pageLabelBuilder prop

v8.1.0

  • A new prop onClick has been added. It is a callback for any click on the component. It exposes information on the part clicked (for eg. isNext for when next control is clicked or isBreak for a break clicked), the next expected page nextSelectedPage & others. Can return false to prevent any page change or a number to override the page to jump to. Just return nothing (or undefined) to let default behavior take place. (see: AdeleD/react-paginate#263)
  • Prevent breaks to be displayed when both pageRangeDisplayed and marginPagesDisplayed are 0

v8.0.3

v8.0.2

v8.0.1

  • Fix the indexed passed when replacing a break (containing only one page) with the actual page (see: AdeleD/react-paginate#395)

v8.0.0

  • Remove button role for links with an href (see: AdeleD/react-paginate#390)
  • Add a rel attribute on previous page, current page and next page controls. They are respectivement customizable thanks to props prevPageRel, selectedPageRel and nextPageRel. To disable the rel attribute, set them to null. (see: AdeleD/react-paginate#391)
  • A new prop disabledLinkClassName has been added. It allows to add a custom class on disabled previous and next controls. Default to undefined (no class added).
  • tabindex is now set to -1 on disabled controls (disable previous/next buttons; active page button). (see: AdeleD/react-paginate#219)
  • Add a warning when providing an initialPage prop value that is greater than the maximum page index from pageCount prop.
  • Add a warning when providing a forcePage prop value that is greater than the maximum page index from pageCount prop.
  • The href generated from hrefBuilder prop is now also set on active page control <a> tag. (see #242)
  • A new prop hrefAllControls has been added. It allows to enable hrefBuilder for all controls.
  • Fix page range of 2 when first page is selected. (see AdeleD/react-paginate#307)
  • Fix the breaking algorithm to not create breaks for only one page (see: AdeleD/react-paginate#270)

v7.1.5

v7.1.4

  • A new prop renderOnZeroPageCount has been added. It allows to define what to display when pageCount is zero. By default, it lets the main pagination boxes be displayed (Previous / Next). To display nothing, just provides renderOnZeroPageCount={null}. (see: AdeleD/react-paginate#377)
  • A new prop className has been added, which is an alias to containerClassName and is usefull for integration with CSS-in-JS frameworks like styled-components. (see: AdeleD/react-paginate#321)
  • Fix the Webpack build by providing a web target (see: AdeleD/react-paginate#317)
  • Add a warning when a non integer is provided for pageCount

NB. This release breaks on Node ; for SSR and Node, please use v7.1.5 instead.

Changelog

Sourced from react-paginate's changelog.

>= 8.1.4

>= 8.1.3

>= 8.1.2

>= 8.1.1

  • Add TypeScript definition for pageLabelBuilder prop

>= 8.1.0

  • A new prop onClick has been added. It is a callback for any click on the component. It exposes information on the part clicked (for eg. isNext for when next control is clicked or isBreak for a break clicked), the next expected page nextSelectedPage & others. Can return false to prevent any page change or a number to override the page to jump to. Just return nothing (or undefined) to let default behavior take place. (see: AdeleD/react-paginate#263)
  • Prevent breaks to be displayed when both pageRangeDisplayed and marginPagesDisplayed are 0

>= 8.0.3

>= 8.0.2

>= 8.0.1

  • Fix the indexed passed when replacing a break (containing only one page) with the actual page (see: AdeleD/react-paginate#395)

>= 8.0.0

  • Remove button role for links with an href (see: AdeleD/react-paginate#390)
  • Add a rel attribute on previous page, current page and next page controls. They are respectivement customizable thanks to props prevPageRel, selectedPageRel and nextPageRel. To disable the rel attribute, set them to null. (see: AdeleD/react-paginate#391)
  • A new prop disabledLinkClassName has been added. It allows to add a custom class on disabled previous and next controls. Default to undefined (no class added).
  • tabindex is now set to -1 on disabled controls (disable previous/next buttons; active page button). (see: AdeleD/react-paginate#219)
  • Add a warning when providing an initialPage prop value that is greater than the maximum page index from pageCount prop.
  • Add a warning when providing a forcePage prop value that is greater than the maximum page index from pageCount prop.
  • The href generated from hrefBuilder prop is now also set on active page control <a> tag. (see #242)
  • A new prop hrefAllControls has been added. It allows to enable hrefBuilder for all controls.
  • Fix page range of 2 when first page is selected. (see AdeleD/react-paginate#307)
  • Fix the breaking algorithm to not create breaks for only one page (see: AdeleD/react-paginate#270)

>= 7.1.5

... (truncated)

Commits
  • 98db5f7 Restore base conf
  • e2b12a1 HMR Loads, but gives an error on reload
  • 6f86aeb New build, try react-refresh also (no luck so far, missing Babel config)
  • bfd78ae Format
  • 551a46e Drop react-dom/test-utils
  • c98ec4a Partial migration of tests to testing-library
  • 2816059 Bump all dev deps
  • be1834d Merge pull request #450 from sakshambhatt/docs/removed-useEffect
  • be76387 Add comment on fetching simulation
  • c512908 Merge pull request #440 from AdeleD/dependabot/npm_and_yarn/terser-5.14.2
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner December 1, 2022 16:07
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 1, 2022
@codecov
Copy link

codecov bot commented Dec 1, 2022

Codecov Report

Base: 67.90% // Head: 67.90% // No change to project coverage 👍

Coverage data is based on head (fb6d5d1) compared to base (24a0a4d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@                        Coverage Diff                        @@
##             dep/dependency_upgrade_staging    #1040   +/-   ##
=================================================================
  Coverage                             67.90%   67.90%           
  Complexity                             1498     1498           
=================================================================
  Files                                   190      190           
  Lines                                  6611     6611           
  Branches                                444      444           
=================================================================
  Hits                                   4489     4489           
  Misses                                 1936     1936           
  Partials                                186      186           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/cerberus-dashboard/dep/dependency_upgrade_staging/react-paginate-8.1.4 branch from 75332bc to 0670a77 Compare January 3, 2023 16:23
@shawn-sher shawn-sher force-pushed the dep/dependency_upgrade_staging branch from d80d944 to 9c61c0c Compare February 3, 2023 16:52
Bumps [react-paginate](https://github.com/AdeleD/react-paginate) from 7.1.3 to 8.1.4.
- [Release notes](https://github.com/AdeleD/react-paginate/releases)
- [Changelog](https://github.com/AdeleD/react-paginate/blob/master/CHANGELOG.md)
- [Commits](AdeleD/react-paginate@v7.1.3...v8.1.4)

---
updated-dependencies:
- dependency-name: react-paginate
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/cerberus-dashboard/dep/dependency_upgrade_staging/react-paginate-8.1.4 branch from 0670a77 to fb6d5d1 Compare February 8, 2023 15:57
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 1, 2023

Superseded by #1138.

@dependabot dependabot bot closed this Apr 1, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/cerberus-dashboard/dep/dependency_upgrade_staging/react-paginate-8.1.4 branch April 1, 2023 16:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants